package com.cz.nongyetongv5.bean;

import java.io.Serializable;

public class JianCeLeiBie implements Serializable {

	private Integer id;

	private String name;

	private Integer sortorder;

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Integer getSortorder() {
		return sortorder;
	}

	public void setSortorder(Integer sortorder) {
		this.sortorder = sortorder;
	}

	public JianCeLeiBie(Integer id, String name, Integer sortorder) {
		this.id = id;
		this.name = name;
		this.sortorder = sortorder;
	}

	public JianCeLeiBie() {
	}
	
	@Override
	public boolean equals(Object o) {
		
		if (o == null){
			
			return false ;
		}
		
		if (!( o instanceof JianCeLeiBie)){
			
			return false ;
		}
		
		
		JianCeLeiBie data = (JianCeLeiBie) o ;
		
		if (data.getId() == this.getId()){
			
			
			return true ;
		}else{
			
			return false; 
		}
	}

}
